<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
		<title>随堂测试</title>
		<link rel="stylesheet" href="__PUBLIC__/css/weui.min.css" />
		<link rel="stylesheet" href="__PUBLIC__/css/example.css" />
	</head>

	<body ontouchstart>
		<div class="container js_container">

			<div class="hd">
				<h1 class="page_title">随堂测试</h1>
			</div>
			<div class="bd">
				<div class="weui_grids">
					<foreach name="quizInfo" item="quizInfo" key="key">
						<if condition="($quizInfo.state eq '开启')">
							<a href="javascript:show();" class="weui_grid js_grid" data-id="toast">
								<div class="weui_grid_icon">
									<img src="/gailvlunptSVN/Public/images/icon_nav_toast.png" alt="">
								</div>
								<p class="weui_grid_label">
									{$quizInfo.quizName}
								</p>
							</a>
							<else />
							<a href="javascript:alert('该章节试题还没开启');" class="weui_grid js_grid" data-id="toast">
								<div class="weui_grid_icon">
									<img src="__PUBLIC__/images/icon_nav_article.png" alt="">
								</div>
								<p class="weui_grid_label">
									{$quizInfo.quizName}
								</p>
							</a>
						</if>
					</foreach>
					<a href="javascript:;" class="weui_grid js_grid">
						<div class="weui_grid_icon">
							<img src="__PUBLIC__/images/icon_nav_actionSheet.png" alt="">
						</div>
						<p class="weui_grid_label">
							更多
						</p>
					</a>
				</div>
			</div>
		</div>
	</body>
</html>